PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Supernova / Radiate / drugsincombat - digital glory (to god mix).milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=0.991 |
| 9 | fVideoEchoZoom=1.008 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=0 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=1.002 |
| 27 | fWaveSmoothing=0.900 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.500 |
| 30 | fModWaveAlphaEnd=1.000 |
| 31 | fWarpAnimSpeed=1.549 |
| 32 | fWarpScale=2.940 |
| 33 | fZoomExponent=0.02049 |
| 34 | fShader=0.070 |
| 35 | zoom=1.00000 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=1.45984 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.500 |
| 45 | wave_g=0.500 |
| 46 | wave_b=0.500 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.005 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=1.000 |
| 56 | ib_g=1.000 |
| 57 | ib_b=1.000 |
| 58 | ib_a=1.000 |
| 59 | nMotionVectorsX=0.000 |
| 60 | nMotionVectorsY=0.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=1.000 |
| 64 | mv_r=1.000 |
| 65 | mv_g=0.910 |
| 66 | mv_b=0.710 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=1 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.00000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_per_frame1=advance=advance+ 0.005; |
| 89 | wave_0_per_frame2=advance=if( above(advance,2) , 0, advance); |
| 90 | wave_0_per_frame3=t1=advance |
| 91 | wave_0_per_point1=s=sample*6.28; |
| 92 | wave_0_per_point2= |
| 93 | wave_0_per_point3=//plot random x position via function of sample pos; |
| 94 | wave_0_per_point4=xp=sin(s)+sin(s*0.34)+sin(s*24.3)+sin(s*13.8); |
| 95 | wave_0_per_point5=xp=xp*0.20; |
| 96 | wave_0_per_point6= |
| 97 | wave_0_per_point7=//plot random y position via function of sample pos; |
| 98 | wave_0_per_point8=yp=cos(s)+sin(s*0.24)+cos(s*17.4)+sin(s*37.7); |
| 99 | wave_0_per_point9=yp=yp*0.20; |
| 100 | wave_0_per_point10= |
| 101 | wave_0_per_point11=//plot random z position via function of sample pos; |
| 102 | wave_0_per_point12=zp=cos(s)+cos(s*5.24)+cos(s*47.4)+cos(s*27.7); |
| 103 | wave_0_per_point13=zp=zp*0.25; |
| 104 | wave_0_per_point14= |
| 105 | wave_0_per_point15=//pull stars toward screen |
| 106 | wave_0_per_point16=zp=zp + 1 - t1; |
| 107 | wave_0_per_point17= |
| 108 | wave_0_per_point18=//correct when below 0 |
| 109 | wave_0_per_point19=zp=if( below(zp,0) , zp+2 , zp ); |
| 110 | wave_0_per_point20= |
| 111 | wave_0_per_point21=//darken far stars |
| 112 | wave_0_per_point22=a=(1 - zp*0.5); |
| 113 | wave_0_per_point23= |
| 114 | wave_0_per_point24=zp=zp*0.7; |
| 115 | wave_0_per_point25= |
| 116 | wave_0_per_point26=x_screen=xp/zp + 0.5; |
| 117 | wave_0_per_point27=y_screen=yp/zp + 0.5; |
| 118 | wave_0_per_point28= |
| 119 | wave_0_per_point29=x=x_screen; |
| 120 | wave_0_per_point30=y=y_screen; |
| 121 | wave_0_per_point31= |
| 122 | wave_0_per_point32=r=1; |
| 123 | wave_0_per_point33=g=1; |
| 124 | wave_0_per_point34=b=1; |
| 125 | wave_0_per_point35= |
| 126 | wavecode_1_enabled=1 |
| 127 | wavecode_1_samples=512 |
| 128 | wavecode_1_sep=0 |
| 129 | wavecode_1_bSpectrum=0 |
| 130 | wavecode_1_bUseDots=1 |
| 131 | wavecode_1_bDrawThick=1 |
| 132 | wavecode_1_bAdditive=1 |
| 133 | wavecode_1_scaling=1.00000 |
| 134 | wavecode_1_smoothing=0.00000 |
| 135 | wavecode_1_r=1.000 |
| 136 | wavecode_1_g=1.000 |
| 137 | wavecode_1_b=1.000 |
| 138 | wavecode_1_a=1.000 |
| 139 | wave_1_per_point1=ax = 10*.5*(sin(100*sample+1.865)+1)*sin(300*6.2831*sample+3.14*sample); |
| 140 | wave_1_per_point2=ay = 10*.5*(sin(100*sample+5.23)+1)*cos(200*6.2831*sample+ 3.14*sample+.1454); |
| 141 | wave_1_per_point3=az = 5*(sin(100*sample+.234)+1)*sin(400*6.2831*sample+3.14*sample+1.84); |
| 142 | wave_1_per_point4= |
| 143 | wave_1_per_point5=bx = ax; |
| 144 | wave_1_per_point6=by = ay*cos(q1) - az*sin(q1); |
| 145 | wave_1_per_point7=bz = ay*sin(q1) + az*cos(q1); |
| 146 | wave_1_per_point8= |
| 147 | wave_1_per_point9=ax = bx*cos(q2) - bz*sin(q2); |
| 148 | wave_1_per_point10=ay = by; |
| 149 | wave_1_per_point11=az = bx*sin(q2) + bz*cos(q2); |
| 150 | wave_1_per_point12= |
| 151 | wave_1_per_point13=bx = ax*cos(q3) - ay*sin(q3); |
| 152 | wave_1_per_point14=by = ax*sin(q3) + ay*cos(q3); |
| 153 | wave_1_per_point15=bz = az; |
| 154 | wave_1_per_point16= |
| 155 | wave_1_per_point17=vx=bx; vy=by; vz=bz; |
| 156 | wave_1_per_point18= |
| 157 | wave_1_per_point19=x=vx/abs(vz-10)+.5; |
| 158 | wave_1_per_point20=y=vy/abs(vz-10)+.5; |
| 159 | wave_1_per_point21= |
| 160 | wave_1_per_point22=a=above(vz,0)*(.05*(5-abs(az))) |
| 161 | wavecode_2_enabled=1 |
| 162 | wavecode_2_samples=512 |
| 163 | wavecode_2_sep=0 |
| 164 | wavecode_2_bSpectrum=0 |
| 165 | wavecode_2_bUseDots=0 |
| 166 | wavecode_2_bDrawThick=1 |
| 167 | wavecode_2_bAdditive=1 |
| 168 | wavecode_2_scaling=1.00000 |
| 169 | wavecode_2_smoothing=0.00000 |
| 170 | wavecode_2_r=1.000 |
| 171 | wavecode_2_g=0.500 |
| 172 | wavecode_2_b=0.100 |
| 173 | wavecode_2_a=1.000 |
| 174 | wave_2_per_point1=t=above(sin(20*6.2831*sample+time*16),0); |
| 175 | wave_2_per_point2=ax = (1.58+1.5*t*abs(value1))*cos(6.2831*sample); |
| 176 | wave_2_per_point3=ay = 1.3*(1.58+1.5*t*abs(value2))*sin(6.2831*sample); |
| 177 | wave_2_per_point4=az = 0; |
| 178 | wave_2_per_point5= |
| 179 | wave_2_per_point6=bx = ax; |
| 180 | wave_2_per_point7=by = ay*cos(q1) - az*sin(q1); |
| 181 | wave_2_per_point8=bz = ay*sin(q1) + az*cos(q1); |
| 182 | wave_2_per_point9= |
| 183 | wave_2_per_point10=ax = bx*cos(q2) - bz*sin(q2); |
| 184 | wave_2_per_point11=ay = by; |
| 185 | wave_2_per_point12=az = bx*sin(q2) + bz*cos(q2); |
| 186 | wave_2_per_point13= |
| 187 | wave_2_per_point14=bx = ax*cos(q3) - ay*sin(q3); |
| 188 | wave_2_per_point15=by = ax*sin(q3) + ay*cos(q3); |
| 189 | wave_2_per_point16=bz = az; |
| 190 | wave_2_per_point17= |
| 191 | wave_2_per_point18=vx=bx; vy=by; vz=bz; |
| 192 | wave_2_per_point19= |
| 193 | wave_2_per_point20=x=vx/abs(vz-10)+.5; |
| 194 | wave_2_per_point21=y=vy/abs(vz-10)+.5; |
| 195 | wave_2_per_point22= |
| 196 | wave_2_per_point23=as=above(cos(q3+1.57)*cos(q2)*vx+sin(q3+1.57)*sin(q1)*vy+sin(q2)*vz,0); |
| 197 | wave_2_per_point24=a=t*(.07*(1-as)+as); |
| 198 | wavecode_3_enabled=1 |
| 199 | wavecode_3_samples=512 |
| 200 | wavecode_3_sep=0 |
| 201 | wavecode_3_bSpectrum=0 |
| 202 | wavecode_3_bUseDots=0 |
| 203 | wavecode_3_bDrawThick=1 |
| 204 | wavecode_3_bAdditive=1 |
| 205 | wavecode_3_scaling=1.00000 |
| 206 | wavecode_3_smoothing=0.00000 |
| 207 | wavecode_3_r=1.000 |
| 208 | wavecode_3_g=0.500 |
| 209 | wavecode_3_b=0.100 |
| 210 | wavecode_3_a=1.000 |
| 211 | wave_3_per_point1=t=above(sin(20*6.2831*sample+time*16),0); |
| 212 | wave_3_per_point2=ax = (1.58+1.5*t*abs(value1))*cos(6.2831*sample); |
| 213 | wave_3_per_point3=ay = 0; |
| 214 | wave_3_per_point4=az = 1.2*(1.58+1.5*t*abs(value2))*sin(6.2831*sample); |
| 215 | wave_3_per_point5= |
| 216 | wave_3_per_point6=bx = ax; |
| 217 | wave_3_per_point7=by = ay*cos(q1) - az*sin(q1); |
| 218 | wave_3_per_point8=bz = ay*sin(q1) + az*cos(q1); |
| 219 | wave_3_per_point9= |
| 220 | wave_3_per_point10=ax = bx*cos(q2) - bz*sin(q2); |
| 221 | wave_3_per_point11=ay = by; |
| 222 | wave_3_per_point12=az = bx*sin(q2) + bz*cos(q2); |
| 223 | wave_3_per_point13= |
| 224 | wave_3_per_point14=bx = ax*cos(q3) - ay*sin(q3); |
| 225 | wave_3_per_point15=by = ax*sin(q3) + ay*cos(q3); |
| 226 | wave_3_per_point16=bz = az; |
| 227 | wave_3_per_point17= |
| 228 | wave_3_per_point18=vx=bx; vy=by; vz=bz; |
| 229 | wave_3_per_point19= |
| 230 | wave_3_per_point20=x=vx/abs(vz-10)+.5; |
| 231 | wave_3_per_point21=y=vy/abs(vz-10)+.5; |
| 232 | wave_3_per_point22= |
| 233 | wave_3_per_point23=as=above(cos(q3-1.57)*cos(q2)*vx+sin(q3-1.57)*sin(q1)*vy+sin(q2)*vz,0); |
| 234 | wave_3_per_point24=a=t*(.07*(1-as)+as); |
| 235 | shapecode_0_enabled=0 |
| 236 | shapecode_0_sides=60 |
| 237 | shapecode_0_additive=1 |
| 238 | shapecode_0_thickOutline=1 |
| 239 | shapecode_0_textured=0 |
| 240 | shapecode_0_num_inst=1 |
| 241 | shapecode_0_x=0.500 |
| 242 | shapecode_0_y=0.500 |
| 243 | shapecode_0_rad=0.39872 |
| 244 | shapecode_0_ang=0.00000 |
| 245 | shapecode_0_tex_ang=0.00000 |
| 246 | shapecode_0_tex_zoom=1.00000 |
| 247 | shapecode_0_r=1.000 |
| 248 | shapecode_0_g=1.000 |
| 249 | shapecode_0_b=0.700 |
| 250 | shapecode_0_a=1.000 |
| 251 | shapecode_0_r2=1.000 |
| 252 | shapecode_0_g2=0.800 |
| 253 | shapecode_0_b2=0.000 |
| 254 | shapecode_0_a2=0.000 |
| 255 | shapecode_0_border_r=1.000 |
| 256 | shapecode_0_border_g=1.000 |
| 257 | shapecode_0_border_b=1.000 |
| 258 | shapecode_0_border_a=0.000 |
| 259 | shape_0_per_frame1=ax=0; ay=0; az=-30; |
| 260 | shape_0_per_frame2= |
| 261 | shape_0_per_frame3=bx = ax; |
| 262 | shape_0_per_frame4=by = ay*cos(q1) - az*sin(q1); |
| 263 | shape_0_per_frame5=bz = ay*sin(q1) + az*cos(q1); |
| 264 | shape_0_per_frame6= |
| 265 | shape_0_per_frame7=ax = bx*cos(q2) - bz*sin(q2); |
| 266 | shape_0_per_frame8=ay = by; |
| 267 | shape_0_per_frame9=az = bx*sin(q2) + bz*cos(q2); |
| 268 | shape_0_per_frame10= |
| 269 | shape_0_per_frame11=bx = ax*cos(q3) - ay*sin(q3); |
| 270 | shape_0_per_frame12=by = ax*sin(q3) + ay*cos(q3); |
| 271 | shape_0_per_frame13=bz = az; |
| 272 | shape_0_per_frame14= |
| 273 | shape_0_per_frame15=vx=bx; vy=by; vz=bz; |
| 274 | shape_0_per_frame16= |
| 275 | shape_0_per_frame17=x=vx/abs(vz-10)+.5; |
| 276 | shape_0_per_frame18=y=vy/abs(vz-10)+.5; |
| 277 | shape_0_per_frame19= |
| 278 | shape_0_per_frame20=a=below(vz,0); |
| 279 | shapecode_1_enabled=1 |
| 280 | shapecode_1_sides=60 |
| 281 | shapecode_1_additive=1 |
| 282 | shapecode_1_thickOutline=0 |
| 283 | shapecode_1_textured=1 |
| 284 | shapecode_1_num_inst=1 |
| 285 | shapecode_1_x=0.500 |
| 286 | shapecode_1_y=0.500 |
| 287 | shapecode_1_rad=0.55924 |
| 288 | shapecode_1_ang=1.88496 |
| 289 | shapecode_1_tex_ang=0.69115 |
| 290 | shapecode_1_tex_zoom=2.34866 |
| 291 | shapecode_1_r=1.000 |
| 292 | shapecode_1_g=0.100 |
| 293 | shapecode_1_b=1.000 |
| 294 | shapecode_1_a=0.200 |
| 295 | shapecode_1_r2=1.000 |
| 296 | shapecode_1_g2=0.050 |
| 297 | shapecode_1_b2=0.400 |
| 298 | shapecode_1_a2=0.000 |
| 299 | shapecode_1_border_r=1.000 |
| 300 | shapecode_1_border_g=1.000 |
| 301 | shapecode_1_border_b=1.000 |
| 302 | shapecode_1_border_a=0.000 |
| 303 | shapecode_2_enabled=1 |
| 304 | shapecode_2_sides=60 |
| 305 | shapecode_2_additive=1 |
| 306 | shapecode_2_thickOutline=0 |
| 307 | shapecode_2_textured=1 |
| 308 | shapecode_2_num_inst=1 |
| 309 | shapecode_2_x=0.500 |
| 310 | shapecode_2_y=0.500 |
| 311 | shapecode_2_rad=1.54304 |
| 312 | shapecode_2_ang=6.28319 |
| 313 | shapecode_2_tex_ang=6.28319 |
| 314 | shapecode_2_tex_zoom=0.30546 |
| 315 | shapecode_2_r=0.000 |
| 316 | shapecode_2_g=0.500 |
| 317 | shapecode_2_b=0.600 |
| 318 | shapecode_2_a=0.400 |
| 319 | shapecode_2_r2=0.000 |
| 320 | shapecode_2_g2=0.000 |
| 321 | shapecode_2_b2=0.000 |
| 322 | shapecode_2_a2=0.800 |
| 323 | shapecode_2_border_r=1.000 |
| 324 | shapecode_2_border_g=1.000 |
| 325 | shapecode_2_border_b=1.000 |
| 326 | shapecode_2_border_a=0.000 |
| 327 | shape_2_per_frame1=tex_ang=bass; |
| 328 | shapecode_3_enabled=0 |
| 329 | shapecode_3_sides=6 |
| 330 | shapecode_3_additive=1 |
| 331 | shapecode_3_thickOutline=0 |
| 332 | shapecode_3_textured=0 |
| 333 | shapecode_3_num_inst=1 |
| 334 | shapecode_3_x=0.500 |
| 335 | shapecode_3_y=0.500 |
| 336 | shapecode_3_rad=0.11490 |
| 337 | shapecode_3_ang=0.00000 |
| 338 | shapecode_3_tex_ang=0.00000 |
| 339 | shapecode_3_tex_zoom=1.00000 |
| 340 | shapecode_3_r=1.000 |
| 341 | shapecode_3_g=1.000 |
| 342 | shapecode_3_b=0.700 |
| 343 | shapecode_3_a=1.000 |
| 344 | shapecode_3_r2=1.000 |
| 345 | shapecode_3_g2=0.800 |
| 346 | shapecode_3_b2=0.000 |
| 347 | shapecode_3_a2=0.000 |
| 348 | shapecode_3_border_r=1.000 |
| 349 | shapecode_3_border_g=1.000 |
| 350 | shapecode_3_border_b=1.000 |
| 351 | shapecode_3_border_a=0.000 |
| 352 | shape_3_per_frame1=q8=-q8+1; |
| 353 | shape_3_per_frame2=t=(frame%6+4); |
| 354 | shape_3_per_frame3=sides=if(equal(t%2,0),6,60); |
| 355 | shape_3_per_frame4= |
| 356 | shape_3_per_frame5=r=equal(t,4)*.3+equal(t,6)*.1+equal(t,8)*.3; |
| 357 | shape_3_per_frame6=g=equal(t,4)*.1+equal(t,6)*.5+equal(t,8)*.15; |
| 358 | shape_3_per_frame7=b=equal(t,4)*.6+equal(t,6)*.3+equal(t,8)*.0; |
| 359 | shape_3_per_frame8= |
| 360 | shape_3_per_frame9=r2=equal(t,4)*.3+equal(t,6)*.1+equal(t,8)*.3; |
| 361 | shape_3_per_frame10=g2=equal(t,4)*.1+equal(t,6)*.5+equal(t,8)*.15; |
| 362 | shape_3_per_frame11=b2=equal(t,4)*.6+equal(t,6)*.3+equal(t,8)*.0; |
| 363 | shape_3_per_frame12= |
| 364 | shape_3_per_frame13=r=r+equal(t%2,1); |
| 365 | shape_3_per_frame14=g=g+equal(t%2,1); |
| 366 | shape_3_per_frame15=b=b+equal(t%2,1)*.7; |
| 367 | shape_3_per_frame16= |
| 368 | shape_3_per_frame17=r2=r2+equal(t%2,1); |
| 369 | shape_3_per_frame18=g2=g2+equal(t%2,1)*.8; |
| 370 | shape_3_per_frame19= |
| 371 | shape_3_per_frame20=rad=equal(t,4)*.1+equal(t,5)*.14+equal(t,6)*.14+equal(t,7)*.18 +equal(t,8)*.12+equal(t,9)*.2; |
| 372 | shape_3_per_frame21= |
| 373 | shape_3_per_frame22=an=atan2(q8-.5,q7-.5); |
| 374 | shape_3_per_frame23=ang=0+equal(t%2,0)*2*an; |
| 375 | shape_3_per_frame24=ang=if(equal(t,6),-ang,ang); |
| 376 | shape_3_per_frame25= |
| 377 | shape_3_per_frame26=d=sqrt(sqr(q7-.5)+sqr(q8-.5)); |
| 378 | shape_3_per_frame27=a=above(1-d,0)*sqrt(1-d); |
| 379 | shape_3_per_frame28= |
| 380 | shape_3_per_frame29=x=t*(.5-q7)*.1617+q7; |
| 381 | shape_3_per_frame30=y=t*(.5-q8)*.1617+q8; |
| 382 | per_frame_init_1=x1 = 0; |
| 383 | per_frame_init_2=y1 = 0; |
| 384 | per_frame_1=//q1 = 0; |
| 385 | per_frame_2=v = 0.8; |
| 386 | per_frame_3=j1 = j1*0.95 + sqr(bass*4)*v; |
| 387 | per_frame_4=j2 = j2*0.95 + sqr(mid*4)*v; |
| 388 | per_frame_5=j3 = j3*0.95 + sqr(treb*4)*v; |
| 389 | per_frame_6= |
| 390 | per_frame_7=n = n + j1*0.0052; |
| 391 | per_frame_8=n1 = n1 + j2*0.0052; |
| 392 | per_frame_9=n2 = n2 + j3*0.0052; |
| 393 | per_frame_10= |
| 394 | per_frame_11= |
| 395 | per_frame_12=q12 = n*0.01; |
| 396 | per_frame_13=q13 = n1*0.01; |
| 397 | per_frame_14=q14 = n2*0.01; |
| 398 | per_frame_15= |
| 399 | per_frame_16=k = k*0.99 + sqr(mid_att*2); |
| 400 | per_frame_17=q25 = k*0.00; |
| 401 | per_frame_18= |
| 402 | per_frame_19=zoom = 0.995; |
| 403 | per_frame_20=warp = 0; |
| 404 | per_frame_21= |
| 405 | per_frame_22=rot = -0.00; |
| 406 | per_frame_23= |
| 407 | per_frame_24=w = -0.46; |
| 408 | per_frame_25=q21 = sin(w); |
| 409 | per_frame_26=q22 = cos(w); |
| 410 | per_frame_27= |
| 411 | per_frame_28=w = -n*0.001; |
| 412 | per_frame_29=q23 = sin(w); |
| 413 | per_frame_30=q24 = cos(w); |
| 414 | per_frame_31=q29 = n1*0.004; |
| 415 | per_frame_32=q30 = n2*0.004; |
| 416 | per_frame_33= |
| 417 | per_frame_34=//before inversion |
| 418 | per_frame_35=scale = 3; |
| 419 | per_frame_36=angle = (n1-n2)*0.0004; |
| 420 | per_frame_37=translation_x = 0; |
| 421 | per_frame_38=translation_y = 0.02; |
| 422 | per_frame_39= |
| 423 | per_frame_40=//complex inverted |
| 424 | per_frame_41=iscale = 0.2; |
| 425 | per_frame_42=iangle = sin(time*0.1337)*0.04; |
| 426 | per_frame_43=itranslation_u = 0; |
| 427 | per_frame_44=itranslation_v = 0; |
| 428 | per_frame_45= |
| 429 | per_frame_46= |
| 430 | per_frame_47=// the m?bius transformation |
| 431 | per_frame_48=// z -> (az+b)/(cz-d); where a,b,c,d are complex numbers and z will be the uv-vector |
| 432 | per_frame_49=// (az+b)/(cz-d) = a/c + mu/(cz+d), with mu = (bc-ad)/c |
| 433 | per_frame_50=// so a/c and mu can be calculated outside of the shader |
| 434 | per_frame_51= |
| 435 | per_frame_52=a_r = cos(angle)*scale; |
| 436 | per_frame_53=a_i = sin(angle)*scale; |
| 437 | per_frame_54=b_r = translation_x; |
| 438 | per_frame_55=b_i = translation_y; |
| 439 | per_frame_56= |
| 440 | per_frame_57=c_r = -cos(iangle)*iscale; |
| 441 | per_frame_58=c_i = -sin(iangle)*iscale; |
| 442 | per_frame_59=d_r = itranslation_u; |
| 443 | per_frame_60=d_i = itranslation_v; |
| 444 | per_frame_61= |
| 445 | per_frame_62=// c^(-1) |
| 446 | per_frame_63=c_inv_r = c_r/(c_r*c_r+c_i*c_i); |
| 447 | per_frame_64=c_inv_i = c_i/(c_r*c_r+c_i*c_i); |
| 448 | per_frame_65= |
| 449 | per_frame_66=// a*c^(-1) |
| 450 | per_frame_67=ac_r = (a_r*c_inv_r - a_i*c_inv_i); |
| 451 | per_frame_68=ac_i = (a_r*c_inv_i - a_i*c_inv_r); |
| 452 | per_frame_69= |
| 453 | per_frame_70=// (bc-ad) |
| 454 | per_frame_71=bcad_r = (b_r*c_r - b_i*c_i)-(a_r*d_r-a_i*d_i); |
| 455 | per_frame_72=bcad_i = (b_r*c_i - b_i*c_r)-(a_r*d_i-a_i*d_r); |
| 456 | per_frame_73= |
| 457 | per_frame_74=// mu*c^(-1) |
| 458 | per_frame_75=q3 = bcad_r*c_inv_r - bcad_i*c_inv_i; |
| 459 | per_frame_76=q4 = bcad_r*c_inv_i - bcad_i*c_inv_r; |
| 460 | per_frame_77= |
| 461 | per_frame_78=q1 = ac_r; |
| 462 | per_frame_79=q2 = ac_i; |
| 463 | per_frame_80= |
| 464 | per_frame_81=q5 = c_r; |
| 465 | per_frame_82=q6 = c_i; |
| 466 | per_frame_83=q7 = d_r; |
| 467 | per_frame_84=q8 = d_i; |
| 468 | per_pixel_1=r = bass/4; |
| 469 | per_pixel_2=cx1 = 0.5+sin(time*0.618)*0.2; |
| 470 | per_pixel_3=cy1 = 0.5+cos(time*1.618)*0.2; |
| 471 | per_pixel_4=d = sqrt((x-cx1)*(x-cx1)+(y-cy1)*(y-cy1)); |
| 472 | per_pixel_5=dir = (bass)*(r*r-d*d)*0.3; |
| 473 | per_pixel_6=x1 = if( above(d,r),0, sin(y-cy1)*dir); |
| 474 | per_pixel_7=y1 = if( above(d,r),0, -sin(x-cx1)*dir); |
| 475 | per_pixel_8= |
| 476 | per_pixel_9= |
| 477 | per_pixel_10=cx1 = 0.5+sin(time*2.618)*0.3; |
| 478 | per_pixel_11=cy1 = 0.5+cos(time*3.14)*0.3; |
| 479 | per_pixel_12=d = sqrt((x-cx1)*(x-cx1)+(y-cy1)*(y-cy1)); |
| 480 | per_pixel_13=dir = -(mid)*(r*r-d*d)*0.3; |
| 481 | per_pixel_14=x2 = if( above(d,r),0, sin(y-cy1)*dir); |
| 482 | per_pixel_15=y2 = if( above(d,r),0, -sin(x-cx1)*dir); |
| 483 | per_pixel_16= |
| 484 | per_pixel_17=cx1 = 0.5+sin(-time*2.618)*0.4; |
| 485 | per_pixel_18=cy1 = 0.5+cos(-time*1.14)*0.4; |
| 486 | per_pixel_19=d = sqrt((x-cx1)*(x-cx1)+(y-cy1)*(y-cy1)); |
| 487 | per_pixel_20=dir = -(treb)*(r*r-d*d)*0.3; |
| 488 | per_pixel_21=x3 = if( above(d,r),0, sin(y-cy1)*dir); |
| 489 | per_pixel_22=y3 = if( above(d,r),0, -sin(x-cx1)*dir); |
| 490 | per_pixel_23= |
| 491 | per_pixel_24=v = 0.4; |
| 492 | per_pixel_25=dx = (x1+x2+x3)*v; |
| 493 | per_pixel_26=dy = (y1+y2+y3)*v; |
| 494 | warp_1=`shader_body |
| 495 | warp_2=`{ |
| 496 | warp_3=` // sample previous frame |
| 497 | warp_4=` ret = tex2D( sampler_fc_main, uv ).xyz; |
| 498 | warp_5=` |
| 499 | warp_6=` // motion blur by Geiss |
| 500 | warp_7=` // 'v' points exactly one pixel, in the direction of motion |
| 501 | warp_8=` float2 v = normalize(uv-uv_orig)*texsize.zw; |
| 502 | warp_9=` float3 s; |
| 503 | warp_10=` ret = max(ret, tex2D(sampler_main, uv+v)*0.97); |
| 504 | warp_11=` ret = max(ret, tex2D(sampler_main, uv-v)*0.97); |
| 505 | warp_12=` ret = max(ret, tex2D(sampler_main, uv+v*2)*0.90); |
| 506 | warp_13=` ret = max(ret, tex2D(sampler_main, uv-v*2)*0.90); |
| 507 | warp_14=` |
| 508 | warp_15=` // darken (decay) over time |
| 509 | warp_16=` ret = (ret-0.005)*0.98; //or try: ret -= 0.004; |
| 510 | warp_17=`} |
| 511 | comp_1=`// tribute to suksma! |
| 512 | comp_2=` |
| 513 | comp_3=`shader_body |
| 514 | comp_4=`{ |
| 515 | comp_5=` float2 uv2; |
| 516 | comp_6=` |
| 517 | comp_7=` float4 c = float4(1,0.4,0.15,0.1); |
| 518 | comp_8=` |
| 519 | comp_9=` uv2 = uv + float2(1,0)*texsize.zw; |
| 520 | comp_10=` float gx1 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w; |
| 521 | comp_11=` uv2 = uv + float2(-1,0)*texsize.zw; |
| 522 | comp_12=` float gx2 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w; |
| 523 | comp_13=` |
| 524 | comp_14=` uv2 = uv + float2(0,1)*texsize.zw; |
| 525 | comp_15=` float gy1 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w; |
| 526 | comp_16=` uv2 = uv + float2(0,-1)*texsize.zw; |
| 527 | comp_17=` float gy2 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w; |
| 528 | comp_18=` |
| 529 | comp_19=` float3 g = normalize(float3(gx1-gx2, gy1-gy2, 0.14)); |
| 530 | comp_20=` |
| 531 | comp_21=` ret = 0.5 + 0.5*g; |
| 532 | comp_22=` ret *= saturate(length(ret.xy-0.5)*5); |
| 533 | comp_23=` ret = ret.xxy; |
| 534 | comp_24=` ret += 1.15; |
| 535 | comp_25=` ret *= lerp(ret,ret*(GetBlur3(uv)-GetBlur1(uv)*treb_att),pow(hue_shader.xzy,bass_att)); |
| 536 | comp_26=` ret *= ret; |
| 537 | comp_27=` |
| 538 | comp_28=` //ret *= 1.5; //old gamma effect |
| 539 | comp_29=`} |